package mcweb.model.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import mcweb.dto.MemberDTO;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

public interface IMemberDAO {

	public abstract void addMember(MemberDTO dto) throws SQLException;

	public abstract Object modifyMember(MemberDTO dto) throws SQLException;

	public abstract Object deleteMemberById(String id) throws SQLException;

	public abstract Object deleteMemberByIds(String[] list) throws SQLException;

	public abstract MemberDTO selectMemberById(String id) throws SQLException;

	public abstract List selectMemberByName(String id) throws SQLException;

	public abstract List selectAllMember() throws SQLException;

	public abstract void setSqlMapClientTemplate(SqlMapClientTemplate sqlMapClientTemplate);
	
	public Object createTmpPwd(Map map) throws SQLException;
	
	public Object updateTmpPwd(String hashPwd) throws SQLException;

}